{extend name="web/public/base" /}
{block name="header"}
{/block}
{block name="main"}
<section class="scrollable padder">
    <ul class="breadcrumb no-border no-radius b-b b-light pull-in">
        <li><a><i class="fa fa-home"></i> 首页</a></li>
        <li class="active">财务中心</li>
        <li class="active">{$title}</li>
    </ul>
    <div class="row">
        <div class="col-sm-12">
            <section class="panel panel-default">
                <header class="panel-heading"> {$title}</header>
                {include file="web/public/search" /}
                {notempty name="_list"}
                <div class="table-responsive">
                    <table class="table table-striped table-hover b-t b-light text-sm">
                        <thead>
                        <tr>
                            <th>投资时间</th><th>会员账号</th><th>投资金额</th>
                            <th>已分红次数</th><th>状态</th>
                        </tr>
                        </thead>
                        <tbody>
                        {volist name='_list' id='vo'}
                        <tr>
                            <td>{$vo.create_time|date="Y-m-d H:i:s",###}</td>
                            <td>{$vo.uid|getInfo="usernumber",###}[{$vo.uid|getInfo="realname",###}]</td>
                            <td>{$vo.money}</td>
                            <td>{$vo.has_nums}</td>
                            <td>
                                {if condition="$vo.status eq 0 "}<span style="color:orange">已完成</span>{/if}
                                {if condition="$vo.status eq 1 "}<span style="color:orange">待分红</span>{/if}
                                {if condition="$vo.status eq 2 "}<span style="color:green">分红中</span>{/if}
                            </td>
                        </tr>
                        {/volist}
                        </tbody>
                    </table>
                </div>
                <footer class="panel-footer">
                    <div class="row">
                        <div class="text-right text-center-xs">
                            {$page}
                        </div>
                    </div>
                </footer>
                {else/}
                <div style="text-align: center">
                    <image src="__PUBLIC__/images/empty.jpg"></image>
                </div>

                {/notempty}
            </section>
        </div>
    </div>
</section>
{/block}
{block name="script"}
<script type="text/javascript">
</script>
{/block}
{block name="footer"}
{/block}